package com.example.springboot10.web;


import com.example.springboot10.base.web.BaseController;
import com.example.springboot10.entity.Student;
import com.example.springboot10.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("student")
public class StudentController extends BaseController<StudentService, Student> {

    @Override
    public  String getPerfix(){
        return  "/student";
    }


}
